<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>&nbsp;boxphp后台管理系统</title>
<include file="Public/header" />
<script type="text/javascript" src="__PUBLIC__/Js/jquery.validate.js"></script>
<script type="text/javascript">
$(function(){
    $("#myform").validate({
        rules: {
                oldpass : {
                    required: true,
                    remote : {
                         url:"<{:U('checkoldpass')}>",
                         type:"POST",
                         data:{ oldpass: function(){ return $("#oldpass").val(); }}
                    },
                },
                newpass : {
                    required: true,
                },
                cofpass : {
                    required: true,
                    equalTo: "#newpass",
                },
            
        },
        messages: {
                oldpass : {
                    required: '请输入原始密码！',
                    remote: '原始密码错误！',
                },
                newpass : {
                    required: '请输入新密码！',
                },
                cofpass : {
                    required: '请输入确认密码！',
                    equalTo : '两次密码输入不一致！',
                },
       },
    })
})
</script>
</head>
<body>
<div>
        <div class="list_vmall_man">
        	<div class="list_vmall_le">
             <include file="./Apps/BoxAdmin/View/Public/adminMenu.html" />
            </div>
            <div class="list_vmall_rig">
            	<ul class="breadcrumb">
                    <li><a href="<{:U('Index/pass')}>">密码管理</a> </li>
                    <li class="active">修改密码</li>
                </ul>
                <div class="list_vmall_bort">
                    <form id="myform" method="post" action="<{:U('passdo')}>">
                    	<div class="vmall_padi">
                           
                          
                            <div class="vmall_cle">
                                <label for="input-title" class="vmall_te_le">用户名</label>
                                 <div class="vmaal_rols">
                                  <{$Think.session.user_name}>
                                </div>
                            </div>


                            <div class="vmall_cle">
                                <label for="input-title" class="vmall_te_le">原始密码</label>
                                 <div class="vmaal_rols">
                                    <input type="password" name="oldpass" id="oldpass" /> 
                                 </div>
                            </div>
                            <div class="vmall_cle">
                                <label for="input-title" class="vmall_te_le">新密码</label>
                                 <div class="vmaal_rols">
                                    <input type="password" name="newpass" id="newpass" /> 
                                 </div>
                            </div><div class="vmall_cle">
                                <label for="input-title" class="vmall_te_le">确认密码</label>
                                 <div class="vmaal_rols">
                                    <input type="password" name="cofpass" id="cofpass" /> 
                                 </div>
                            </div>
                                              
                            <div class="vmall_cle">
                                <div class="vmaal_rols">
                                    <button class="v_mall_q_1" style="border:0; height:32px; padding-top:0; cursor:pointer;" type="submit">确&nbsp;&nbsp;定</button>
                                </div>
                            </div>

                         </div>
                     </form> 
                </div>
                
            </div>
            
            
            <!--弹窗 AD-->
            
           <!--  <div class="modal hide fade in" id="guide_1" style="display:block;" aria-hidden="false">
                <div class="modal-body">
                    <img src="__AdminImages__/guide_1.jpg">
                </div>
                <div class="modal-footer">
                    <button aria-hidden="true" data-dismiss="modal" class="btn" style="padding:4px 12px; font-size:14px;">关闭</button>
                </div>
            </div> -->
            
            <!--弹窗 |End -->
        </div>
        
 
    
    
    
  
</div>



</body>
</html>
